Fix events test.