Pagination helper test working