fix test_file_fail