test case for image processing