min_repeat should not force repeat=1 when not dealing with args or refs, and also adding some tests for parse_min_repeat