tundra.tn.document.content:add - fix bug where $content.type was being
ignored
tundra.tn.document.content:add - add unit tests