code: def test_defaults(module):
      module.create_settings()
  
      assert (
          module.directory.get_dir_choice()
          == cellprofiler_core.preferences.DEFAULT_OUTPUT_FOLDER_NAME
      )
  
file_path: CellProfiler/tests/frontend/modules/test_savecroppedobjects.py
imports: import glob
  import os.path
  import numpy.testing
  import pytest
  import skimage
  import skimage.measure
  import skimage.morphology
  import cellprofiler_core.image
  import cellprofiler.modules.savecroppedobjects
  import cellprofiler_core.object
  import cellprofiler_core.preferences
  import cellprofiler_core.setting
label_desc: Use image node_id 2 for calling a global function with example usage: test_defaults(module) without return types