Add testMin to query test :smile: