fixed custom padding of length greater than 1 + test