Use `$this->setEventManager(new EventManager());` instead (to ensure correct identifiers)