Add Unit Tesst for StringUtils and refine.