Fixed broken unit test for old IE versions.