added corpus-specific tests for nested sections / headers

Hey Martin,

nb that this these tests reflect paths to the corpus on the test server rather than within the repo itself -- not sure if you'd rather handle this differently, but we have to script this at some point.