code: def test_load_v3():
      file = tests.frontend.modules.get_test_resources_directory(
          "maskobjects/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.loadtxt(six.moves.StringIO(data))
      module = pipeline.modules()[0]
  
      assert module.object_name.value == "IdentifyPrimaryObjects"
      assert module.remaining_objects.value == "MaskObjects"
      assert module.mask_choice.value == "Objects"
      assert module.masking_objects.value == "FilterObjects"
      assert module.masking_image.value == "None"
      assert module.overlap_choice.value == "Keep overlapping region"
      assert module.overlap_fraction.value == 0.5
      assert module.retain_or_renumber.value == "Renumber"
      assert not module.wants_inverted_mask.value
  
imports: import numpy
  import six.moves
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.measurement
  import cellprofiler_core.modules
  from cellprofiler_core.constants.measurement import FF_COUNT, COLTYPE_INTEGER, M_LOCATION_CENTER_X, COLTYPE_FLOAT, M_LOCATION_CENTER_Y, FF_PARENT, M_NUMBER_OBJECT_NUMBER, FF_CHILDREN_COUNT, C_COUNT, C_LOCATION, C_NUMBER, C_PARENT, C_CHILDREN, FTR_CENTER_X, FTR_CENTER_Y, FTR_OBJECT_NUMBER
  import cellprofiler.modules.maskobjects
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 3 for calling a global function with example usage: test_load_v3() without return types