Testing the pages generator