Fixed tests for IE8