Pagination

New tests for the pagination story.