Ruby test for uploading images