Test pagination with URL structure