Replaced TestRawQuery tests with tests that effectively stub send_plain_message instead of doing real DNS requests over the network.