Added test_send_raw() for issue #4839, see pull request 4840