Fix for api testing when gemini not present