agent: make event buffer test non-sequential