Fix tests for IE