Tests for HttpRequest