code: def test_01_load_v1():
      file = tests.frontend.modules.get_test_resources_directory(
          "measureobjectsizeshape/v1.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))
      assert len(pipeline.modules()) == 1
      module = pipeline.modules()[0]
      assert isinstance(
          module,
          cellprofiler.modules.measureobjectsizeshape.MeasureObjectSizeShape,
      )
      assert len(module.objects_list.value) == 2
      for object_name in module.objects_list.value:
          assert object_name in ("Nuclei", "Cells")
      assert module.calculate_zernikes
  
imports: import io
  import os
  import numpy
  import skimage.io
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.modules.injectimage
  import cellprofiler.modules.measureobjectsizeshape
  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 tests.frontend
  import tests.frontend.modules
label_desc: Use image node_id 2 for calling a global function with example usage: test_01_load_v1() without return types