Add tests for the event model.