WIP: fix errors in PageHeader class. Add test for Generation::search.