Fixed tests for min_max method