Port existing QUnit tests to Jasmine