events controller spec added to test passing parameters