Image resizing test case