test files of the undirected graph