Fix failing test in IE