code: def test_expand_image_array_cnn_checks_3_dims_and_returns_input_array(
      chk_3_dim_mocker,
  ):
      image_arr_3d = np.random.random((3, 3, 3))
      ret_arr = expand_image_array_cnn(image_arr_3d)
      chk_3_dim_mocker.assert_called_once_with(image_arr_3d.shape)
      np.testing.assert_array_equal(ret_arr, image_arr_3d)
  
imports: import pytest
  from pathlib import Path
  import numpy
  from PIL import Image
  from imagededup.utils.image_utils import preprocess_image, load_image, _check_3_dim, _add_third_dim, _raise_wrong_dim_value_error, check_image_array_hash, expand_image_array_cnn
label_desc: Use image node_id 10 for calling a global function with example usage: test_expand_image_array_cnn_checks_3_dims_and_returns_input_array(chk_3_dim_mocker) without return types