tests and fixes for pagination view code