simplify test output and make test failure propagate to `npm test`