SD-277 Add test for cropping