Test cleanup for IE8

Just getting the tests to pass in IE8.