You could test the word count program by passing in all types of text.
Different characters, i.e special one, or ones outside of ANSI would likely cause bugs to show up.