Added tests for Event model.