Making tests for image uploading pass