Fix test

Fix tests for IE8/IE7