add test for words_from_string