Note: this test doesn't cover the fix, it's just an extra insurance on the basic behavior when delivering state. I initially wrote those assertions as part of the test below, and then realized I had rather make that its own test so that one test only asserts one thing.