minor mocha change - test.js and engine.js