added tests for HttpResponse