Test cases for image uploads