Fix unit tests for testGetPager method