test/fromfile.js - mocha test file