Add testcase for Pagination.