test the proxy code