refactor tests to use mocha 1.8 promise support
Merge pull request #16 from codemix/promise-fix

refactor tests to use mocha 1.8 promise support