use promise-polyfill from npm for tests