code: def test_load_v2():
      data = """CellProfiler Pipeline: http://www.cellprofiler.org
  Version:2
  DateRevision:20120126174947
  
  MeasureObjectIntensityDistribution:[module_num:8|svn_version:\'Unknown\'|variable_revision_number:2|show_window:True|notes:\x5B\x5D|batch_state:array(\x5B\x5D, dtype=uint8)]
  Hidden:2
  Hidden:2
  Hidden:2
  Select an image to measure:EnhancedGreen
  Select an image to measure:OrigBlue
  Select objects to measure:Nuclei
  Object to use as center?:These objects
  Select objects to use as centers:Cells
  Select objects to measure:Nuclei
  Object to use as center?:Other objects
  Select objects to use as centers:Cells
  Scale bins?:No
  Number of bins:4
  Maximum radius:200
  Scale bins?:Yes
  Number of bins:5
  Maximum radius:50
  """
      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.measureobjectintensitydistribution.MeasureObjectIntensityDistribution,
      )
      assert module.object_count.value == 2
      assert module.bin_counts_count.value == 2
      assert {"OrigBlue", "EnhancedGreen"}.issubset(
          module.images_list.value
      )
      assert module.objects[0].object_name == "Nuclei"
      assert (
          module.objects[0].center_choice
          == cellprofiler.modules.measureobjectintensitydistribution.C_SELF
      )
      assert module.objects[0].center_object_name == "Cells"
      assert (
          module.objects[1].center_choice
          == cellprofiler.modules.measureobjectintensitydistribution.C_CENTERS_OF_OTHER
      )
      assert module.objects[1].center_object_name == "Cells"
      assert module.bin_counts[0].bin_count == 4
      assert not module.bin_counts[0].wants_scaled
      assert module.bin_counts[0].maximum_radius == 200
      assert module.bin_counts[1].bin_count == 5
      assert module.bin_counts[1].wants_scaled
      assert module.bin_counts[1].maximum_radius == 50
  
imports: import io
  import centrosome.propagate
  import numpy
  import scipy.stats
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  import cellprofiler.modules.measureobjectintensitydistribution
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
  import cellprofiler_core.workspace
  import tests.frontend.modules
label_desc: Use image node_id 5 for calling a global function with example usage: test_load_v2() without return types