added testcase for send