Adding test for root elements in quick union