Tweaks to QUnit tests