testing event and parameter creation in events_controller