paginated caching working with unit tests.