Fixing event test