fix test breakage due to high-bit chars