change npm test to mocha