unit tests for controller response to CRUD events.