Implemented test for UploadFile method