Example with mock of UploadedFile not working