added tests for http proxy