Tests for RpcTypes.