Add tests for proxy usage