Add pagination for products.
Add test for pagination.