Tokenizer tests for headings. Also, add an integration test.