Fixed a couple of IE8 bugs with the tests.