fixing qunit tests