refine TestNodeFromFile