Added dedicated test for event based gateway.