added test for WordCounterResultSorter

added test for WordCounterResultSorter