1) fixed a bug in isMatchedNullSafe() in StringUtility class
fixed a bug in getSentencePtns() and updated its test case.