Fixed flaky test for EventLog

there are multiple events logged at the same time
hence the order in which events are retreived is
not predictable.