OZP-72 Write Eventing API unit tests. - fixing tests