removed compilation warnings in test
cleaned up max-flow