Fix flow, add tests that prove that outcomes can be reached