test(pagination): add test for full coverage