Fixing failing tests in IE8