code: def test_all_string_with_dollars(self):
      experiment = {
          "first_object": {"_name": "DemoWithVal", "val": 2},
          "list_of_objects": [
              "$mock_function",
              "$mock_function2",
              "$first_object",
          ],
      }
      e = ExperimentConfig(experiment)
      self.assertEqual(len(e["list_of_objects"]), 3)
      self.assertEqual(e["list_of_objects"][0](), 5)
      self.assertEqual(e["list_of_objects"][1](), 2)
      self.assertEqual(e["list_of_objects"][2].val, 2)
  
imports: import unittest
  from pathlib import Path
  from typing import Any, Dict, List
  from transfer_nlp.plugins.config import CallableInstantiationError, ExperimentConfig, LoopInConfigError, UnknownPluginException, UnknownReferenceError, register_plugin
label_desc: Use image node_id 3 for calling the RegistryTest obj's underlying member method code with example usage: obj.test_all_string_with_dollars() without return types