added more tests for remote rpc