fixed test file_query