Adding qunit tests