UI tests for pagination.