Add unit test for EventApi getCollection new params argument