Updated paging test to match new API