use tap reporter for tests
whitespace
save and regenerate style state inbetween toHtml() invocations
remove stale commented code