in the documentation:
options.file Object Path or Buffer of the new firmware file
Either a path or Buffer of the file contents in Node, or a File or Blob in the browser.
test parameter appears to only set file to a buffer, and not a path
file: new Buffer('ELF...'),
discovered because upload with path appears to not work as expected during testing / development.