add RpcCodec format test.