added tests for proxy