fix and test String.pad() and friends