Added more tests for Kruskal and fixed it.