Functional tests for pagination wip