Testing WordFrequencyModel