Fixed test script and mocha.opts