first test for WordPriorityComparator