code: def testNames(self):
      model = TestModel()
      self.assertEqual("test_model", model.name)
      self.assertEqual("TestModel", str(model))
      self.assertEqual(
          "Identity", str(model.sample_transformations["identity"])
      )
  
file_path: probability/spinoffs/inference_gym/inference_gym/targets/model_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow_probability.python.internal import test_util
  from inference_gym import targets
  from inference_gym.internal import test_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 3 for calling the ModelTest obj's underlying member method code with example usage: obj.testNames() without return types