Updated SorterTest