Update promise.test.js