Add test for image downscaling with large images severely limiting the destination coordinate space. See the test for more information.