Test the events controller