update mocha fix failing test