add test version of fetching of events