Test passes if a scaled portion of above image appears inside the below square.
Test fails if any red area is seen outside of the image.