Fixed failing Qunit test