Fixed some IE7 and IE8 tests