[chore]: Add list_events utility for unit tests
#3493
Merged
list_events utility for unit tests
#3493