updated npm test to run mocha