[BUGFIX beta] Fixes test suite failures relating to QUnitAdapter

explicit use of QUnit.stop() and QUnit.start() fixes #4664