add resset cache at the right place
Update mocha.addfile