Add test for ES6 Promises
Merge pull request #1169 from kristerkari/master

Add test for ES6 Promises