More unit tests for StringUtils