adding test and documentation for eventController scenario