Added unit test for paging (failing)