add unit test dependency, and tests for event service

@deini @alexmckenley 
i'm up for either way