showed snippet for verifying event handling logic in controller