use api_key from prefs when running tests