Fix tests on IE