We were not cleaning out the flow state in tests.