Clean up spec and changed how the file-transfer api was mocked