all mocha tests pass using npm test