test/formatter.js - mocha tests