mocking / testing events endpoint