New test for pagination