basic unit tests for events controller