Add tests for getWordAndUpdate

getWordAndUpdate works as expected and able to deal with consequence delimiters
expect further improvement on getWordAndUpdate to deal with different delimiters