Fix #1191 - Tests succeed on rejected falsey promises

Make sure that a test case returning a promise fails if the promise is rejected without a reason (or a falsy one).