tests passing for pagination