Adding some QUnit tests.