Added test case for the rectangle clip on an image