adding tests for flow, todo: reporting