fixed tests in IE etc