Fixed some failing tests on IE