writing client_test for round-trip messages.