paginate by id test