class_docstr: Just to be safe, make sure that the agents with "single" versions (ex goal + api
  schema) are correctly aligned.
  
  (Already tested in the agents test file as well, but to be safe.)
code: def _test_SingleGoalApiResp_helper(self, batchsize, num_episodes):
      config = {}
      config["batchsize"] = batchsize
      config[test_agents.TEST_NUM_ROUNDS_OPT_KEY] = 10
      config[test_agents.TEST_NUM_EPISODES_OPT_KEY] = num_episodes
      single_agents, opt = self.setup_agents(
          config,
          test_agents.SingleApiSchemaAgent,
          test_agents.SingleGoalAgent,
      )
      single_script = TestTodWorldScript(opt)
      single_script.agents = single_agents
      single_script.run()
      single_logs = [
          x for x in single_script.logger.get_logs() if len(x) > 0
      ]
  
      multi_agents, opt = self.setup_agents(
          config, test_agents.ApiSchemaAgent, test_agents.GoalAgent
      )
      multi_script = TestTodWorldScript(opt)
      multi_script.agents = multi_agents
      multi_script.run()
      multi_logs = [
          x for x in single_script.logger.get_logs() if len(x) > 0
      ]
  
      single_idx = 0
      for multi_log in multi_logs:
          context = multi_log[0]
          goals = tod_core.SerializationHelpers.str_to_goals(
              context[3]["text"][len("GOAL:") :].strip()
          )
          for goal in goals:
              single_context = single_logs[single_idx][0]
              single_goal = tod_core.SerializationHelpers.str_to_goals(
                  single_context[3]["text"][len("GOAL:") :].strip()
              )
              self.assertEqual(len(single_goal), 1)
              self.assertEquals(goal, single_goal[0])
              single_des = (
                  tod_core.SerializationHelpers.str_to_api_schemas(
                      single_context[0]["text"][len("APIS:") :].strip()
                  )
              )
              self.assertEqual(len(single_des), 1)
              self.assertEqual(
                  single_goal[0]["api_name"], single_des[0]["api_name"]
              )
  
              single_idx += 1
  
imports: import copy
  import unittest
  import parlai.core.tod.tod_test_utils.test_agents
  import parlai.core.tod.tod_core
  import parlai.scripts.tod_world_script
  from parlai.core.tod.tod_agents import StandaloneApiAgent
label_desc: Use image node_id 2 for calling the TodWorldTestSingleDumpAgents obj's underlying member method code with example usage: obj._test_SingleGoalApiResp_helper(batchsize, num_episodes) without return types