Add tests for remote proxy.