add rpc dispatcher test