fixing RichPromise and adding specs for it too