update to mocha.js integration tests