Fix dependencies
Test should use mocha's promise support