Added async tests for QUnit