Added tests for the Event class