code: def test_CreateMatrix_outputs():
      output_map = dict(
          endpoint_file=dict(
              extensions=None,
          ),
          endpoint_file_mm=dict(
              extensions=None,
          ),
          fiber_label_file=dict(
              extensions=None,
          ),
          fiber_labels_noorphans=dict(
              extensions=None,
          ),
          fiber_length_file=dict(
              extensions=None,
          ),
          fiber_length_std_matrix_mat_file=dict(
              extensions=None,
          ),
          filtered_tractographies=dict(),
          filtered_tractography=dict(
              extensions=None,
          ),
          filtered_tractography_by_intersections=dict(
              extensions=None,
          ),
          intersection_matrix_file=dict(
              extensions=None,
          ),
          intersection_matrix_mat_file=dict(
              extensions=None,
          ),
          matlab_matrix_files=dict(),
          matrix_file=dict(
              extensions=None,
          ),
          matrix_files=dict(),
          matrix_mat_file=dict(
              extensions=None,
          ),
          mean_fiber_length_matrix_mat_file=dict(
              extensions=None,
          ),
          median_fiber_length_matrix_mat_file=dict(
              extensions=None,
          ),
          stats_file=dict(
              extensions=None,
          ),
      )
      outputs = CreateMatrix.output_spec()
  
      for key, metadata in list(output_map.items()):
          for metakey, value in list(metadata.items()):
              assert getattr(outputs.traits()[key], metakey) == value
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_CreateMatrix_outputs() without return types