Fix val test on repeated test runs on IE 10