updating mocha fixed weird testing behavior