add Paging to repository and service, fix tests