add unit test dependency, and tests for event service

@deini @alexmckenley 
ok i'll update