only use min-document in tests
create renderOptions in patch and pass it around
Merge pull request #31 from neonstalwart/remove-lib-document

remove lib/document