Fix RemoteProxy test