Fix up warnings
Add max flow for vertex capacities tests