Add new XmlResult type
Moved tests into separate crate

- Discovered a way to put tests into a separate crate, and moved them
  there