class_docstr: Unit tests for Agent class
code: def test_clarification_questions_fail_non_json(
      self, sample_df, config
  ):
      agent = Agent(sample_df, config, memory_size=10)
      agent._lake.llm.call = Mock()
  
      agent._lake.llm.call.return_value = "This is not json response"
  
      with pytest.raises(Exception):
          agent.clarification_questions("What is the happiest country?")
  
imports: from typing import Optional
  from unittest.mock import Mock
  from pandasai.agent import Agent
  import pandas
  import pytest
  from pandasai.llm.fake import FakeLLM
  from pandasai.prompts.clarification_questions_prompt import ClarificationQuestionPrompt
  from pandasai.prompts.explain_prompt import ExplainPrompt
  from pandasai.smart_datalake import SmartDatalake
label_desc: Use image node_id 10 for calling the TestAgent obj's underlying member method code with example usage: obj.test_clarification_questions_fail_non_json(sample_df, config) without return types