changes to the test code for send. added envelope sender.