fix qunit tests