publication pagination gets all pages
fix tests