adding test for min cut, still need more tests