added first tests for HttpResponse. refactored composer.json