Revert importFile to uploadFile in tests