Fix qunit test for core.js