mixup of fulfillment and rejection paths

Description suggest test should be about a rejected promise, but code is written for a mixup of fulfilled and rejected promise