Adding QUnit tests