Added kruskal and test