Added tests for HTTPProxy functions