fixing event tests for ie 8