added debug statement in testPaginationHomePretty