mocha as test script