Added mocha opts and npm test definition.