Added testcases for rpc-calls. Remove callId when receive rpc-result or error.