add integration tests for proxy