Truncate child elements
Update tests
Fix comments and logging
Merge pull request #1 from JeffChan/better-truncate

Truncate through child elements