minmax testing