Replace wrong Mockito.any() call to Mockito.isA().
Adds test cases for eventManager.
Refactors test case.

Refs #6, #23