Add some tests for the binary protocol.