Test fixes, and an extra method for HttpResponse.