Add mock test with qunit