updated and fixed current qunit tests