fix(Jasmine): Execute AfterEach methods

This change fixes the problem that functions defined using afterEach in unit tests were not run.
chore(EventHandler): Clean up EventHandler tests

Closes #770