Fixes unit tests broken by adding event service.