add unit test dependency, and tests for event service

@deini @alexmckenley