parse_test.go: Improve error output
parse_test.go: Add null checks to updateState()
Merge checkSectionNode() and checkAdornmentNode()