Add test for image uploads