Fixes for QUnit