fixed a unit test for the proxy