refactored fileTransfer tests