Adding integration for #5656 Adding class with event handlers to module "with_events"
Adding integration test for #5656