testing max flow