Unit tests working for get_word_frequency, better/more extensive documentation for it.