Adding Test case for Kruskal