* Adding tests for infinite pagination. * sustitute function * remove wrong file * Remove a check * Fix after rebase