add unit test dependency, and tests for event service

@deini @alexmckenley 
I vote for removing the IIFE on our tests, since they will already be wrapped in an outer describe. Also "use strict" is not really important here since this code will not be run outside of our build environment.

I also think it just adds an unnecessary code to our tests.