tests + fix union find interation in equality
merge