Fixed qunit tests