Fixed unit test for IE8.