tests(Promise polyfill): add Promise polyfill for PhantomJS tests.