Fix event tests.