change testSetAndGetEvent into testSetAndGetEvents