Fix test_file_name for scenario