Added tests for Event class