Add tests for min, max, and minmax