Removing unnecessary tests from wlxml.js