code: def test_load_v3():
      file = tests.frontend.modules.get_test_resources_directory(
          "measureimageoverlap/v3.pipeline"
      )
      with open(file, "r") as fd:
          data = fd.read()
  
      pipeline = cellprofiler_core.pipeline.Pipeline()
  
      def callback(caller, event):
          assert not isinstance(
              event, cellprofiler_core.pipeline.event.LoadException
          )
  
      pipeline.add_listener(callback)
      pipeline.load(io.StringIO(data))
  
      module = pipeline.modules()[0]
      assert isinstance(
          module,
          cellprofiler.modules.measureimageoverlap.MeasureImageOverlap,
      )
      assert module.ground_truth == "Foo"
      assert module.test_img == "Bar"
      # assertEqual(module.object_name_GT, "Cell2_0")
      # assertEqual(module.object_name_ID, "Cell2_1")
      assert not module.wants_emd
  
imports: import io
  import numpy
  import numpy.random
  import numpy.testing
  import scipy.ndimage
  import cellprofiler_library.opts.measureimageoverlap
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureimageoverlap
  import tests.frontend.modules
label_desc: Use image node_id 2 for calling a global function with example usage: test_load_v3() without return types