fix event test case