Use `bt()` instead of `test_fragment()` where possible.
Need tests for what happens when the xml is improperly formatted: some tag inside doesn't have a matching open or close, the root tag doesn't have a matching close tag. Use test_fragment for these cases if needed.