Fixed test which failed on IE