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