Often, a message is being sent and followed by a call to `recv` to wait for a reply. Create a simple helper `send_and_recv` that does both in one method. Add a simple check for that helper to the tests.