Unit test for ProxyServer