downloadFile: parse content length as integer
use mocha spec reporter mode