Fixing downloadFile test by simplifying NotFoundMessage behaviour to avoid chunked responses.