Wrote tests for event model.