Additional specs for FileResponse. Refactor. Added ErrorResponseTest.