Added unit tests for HttpResponse with lots of test support.