def METHOD_NAME(self):
    idx0 = 3
    idx1 = 5
    filters = Filter(**{'entrez_id__in': [str(i) for i in range(2, 1000)]})
    def _query():
        return self.file.query(limit=10, filters=filters)
    results_slice = _query()[idx0:idx1]
    results_paging = []
    for (i, r) in enumerate(_query()):
        if i == idx1:
            break
        elif i >= idx0:
            results_paging.append(r)
    self.assertEqual(len(results_paging), len(results_slice))