Add unicodes and unittests for bad_path.