Test roundtrip of heading-text and indentation