Add unit tests for floodFill checking minmax