fix event test