Convert rpc tests from doh to intern