change test now If the image is not in amazon s3, we remove of database and catch exception extension is not valid