Add test cases for non-utf8 paths