testing an event