improve tests on match_section

include calls that involve logger