Return a value if the current call is a test
Added event type