Fix broken qunit tests in 1.9.0