Added more tests and improved parsing of summary page.
Made titles to be outputted as <h1>.
Fixed wrong expected result in number of pages.