Test: improve PageGenerator tester