file upload, unit test fix