added simple validations and tests for Event model