Changing tests to allow for pagination. Was throwing errors before because the test was passing the template a simple array rather than a paginated result