tested getEvents and started to test getEventsByRevision