Add spec test for AnnouncementManager::getObjectManager() method.