Add tests for HttpPost