Testing numofpages