StringUtils: NPE fix if bad arg for padding, tests