Refactored end event ids and other constants for test cases.