test for pagination on horses index