added corpus-specific tests for nested sections / headers
added docopt instead of argparse.