Include and copy the image rep in the tester.
Prevent possible crash.
Get size by the Affine Transform then apply that to the size. This should result in a better scaled image.