Adding test cases to check event handler's name, docstring and trigger method as well