test contoller events