code: def test_run_uint16(workspace, module):
      module.object_name.value = "inputobjects"
  
      module.image_name.value = "outputimage"
  
      module.image_mode.value = "uint16"
  
      module.run(workspace)
  
      image = workspace.image_set.get_image("outputimage")
  
      objects = workspace.get_objects("inputobjects")
  
      assert image.dimensions == objects.segmented.ndim
  
      pixel_data = image.pixel_data
  
      assert pixel_data.shape == objects.shape
  
      expected = numpy.reshape(numpy.arange(256), (16, 16))
  
      if objects.segmented.ndim == 3:
          expected = numpy.tile(expected, (3, 1))
  
          expected = numpy.reshape(expected, (3, 16, 16))
  
      assert numpy.all(pixel_data == expected)
  
imports: import numpy
  import pytest
  import scipy.sparse.coo
  import cellprofiler_core.image
  import cellprofiler_core.measurement
  import cellprofiler_core.module
  import cellprofiler.modules.convertobjectstoimage
  import cellprofiler_core.object
  import cellprofiler_core.pipeline
  import cellprofiler_core.preferences
  import cellprofiler_core.workspace
label_desc: Use image node_id 9 for calling a global function with example usage: test_run_uint16(workspace, module) without return types