Options.styles should be a Set - SectionBuilder now generates title and
section styles for headers
add tests for the Document API
add tests for DocumentTree API