Add test for getWordAndUpdate

getWordAndUpdate is able to get first word from a line
expect further improvement to get second or more words