tests(cropper): add cropper unit tests