Correct QUnit check, this might fix swarm failures