updated gulp file with mocha error handling