Test WordCounter