Correct assertion in testSetAndGetEvents()