Added back the test. If `ready` was never resolved or rejected, the test will timeout. Otherwise `done` will be notified if the promise was rejected.