Fixed pattern_present doc test