test of automatic page generation