Add coverage for pagination.