Add event test case.