added testSendFile