Adding event handler class for integration test for #5656