added event type testing