Add test for ES6 Promises