rejectStatusAbove({status: 400})(aboveStatus)().then(function () {
        t.bailout('the promise was unexpectedly resolved');
    }).catch(function (error) {
        t.ok(error instanceof rejectStatusAbove.StatusAboveError, 'error should be instance of StatusAboveError');
        t.equal(error.fn, aboveStatus, 'initial functon was not returned');