add debug to mocha test