fixed custom padding of length greater than 1 + test
Merge pull request #12 from danyshaanan/master

fixed custom padding of length greater than 1 + test