Stoping QUnit sooner

In test/index.html directly to prevent phantomjs from running the tests before
require JS has actually loaded them.