code: def test_crop(self):
      start_loc = [13, 80, 125]
      patch = [5, 40, 40]
      crop = Crop3D(start=start_loc, patch_size=patch)
      data_rdd = self.sc.parallelize([self.sample])
      image_set = DistributedImageSet(image_rdd=data_rdd)
      transformed = crop(image_set)
      image = transformed.get_image(key="imageTensor").first()
      assert image.shape == (5, 40, 40, 1)
  
file_path: analytics-zoo/pyzoo/test/zoo/feature/image3d/test_image3d.py
imports: import pytest
  import h5py
  from math import pi
  from zoo.common.nncontext import *
  from zoo.feature.common import *
  from zoo.feature.image3d.transformation import *
label_desc: Use image node_id 3 for calling the Test_Image3D obj's underlying member method code with example usage: obj.test_crop() without return types