fixed UploadedFile mock issues