few typos fixed in rpc; rpc namespace tests added