Fix ConnectionManager::areConnected test