Update tests with QUnit