Improved paging method signature and added documentation
fixed tests according to changes in paging