Fixed issue where QUnit tests were failing