Replace mocha-test with mocha-spawn to fix require.js bug