New convolve and max flow unit tests