fixed file_query test