We need another unit test that works over the second case, where there is no debounce but an event that has not yet occurred before the programmatic reset occurs.