Extract promise.resolve to toBluebird fn