Added tests in SortedEquaSetSpec to ensure TreeEquaSet partition and scanRight method return type uses TreeEquaSet.