Basic unit testing for EventManager