Fix unit test for site list pagination