Slowly fixing up QUnit tests