Added test for Event class.