added specs for api events_controller