updated EventsTest.java