Adds test for constraints resize
Checks that the image is actually resized