added test case with three changing segments in counterflow arrangement