Fixing some tests for IE8