added test for WordCounterResultSorter