added sending test
added param to test_send