added unit test for WordCounterResultSorter