fix graph.TestExternal