Test für Undirected Graph