Fixing failing test from #2

Supporting malformed XML now (XML documents must have a single root, but now truncate won't require it)