Add tests for HttpProxy class