Test arrays for min/max