fixed mocha spec