Making tests for image uploading