create event button in test cases modified