Added tests in SortedEquaSetSpec to ensure TreeEquaSet tails method return type uses TreeEquaSet.