modify test code of startWith() in StringUtil