Add test to verify image uploading