More and improved QUnit tests