Does this test actually cause an auto-flush for you? When debugging, I only see `onFlush()` being called.