set path to local mocha binary for npm test script
test for amd usage