Added a section regex and fiddled with some tests.