Fixed QUnit bug