I think the intention is that the previously returned `d1` is not fired again when `notify_when_empty` is called again. If it had `AlreadyCalledError` would have raised and test would fail.