Travis: attempt to fix tests running twice; `npm test` rebuilds before testing; Mocha: use a Travis-compatible reporter