added tests for send