Added tests for Rpc namespace.