Add coverage for max, min, and pattern