Add unit test for PlainTextDictionary.addNewWord()