removed tests for min and max.