paging feature

Test examples for sync and async paging.