Add a non_utf8 test for matches