Tests for min()/max()