Add failing tests for wrong pagination with padding

Hi, 

I found same issue with #359 in our project so I add some failing tests for merging it.
Take a look please :)