Added test for paging