added paging tester, also fixing issue #15