Add a few specs to WordFrequencyAnalyzer.