Fix bug with the async test
Update chai and mocha to the lib we are using