Convert to loadfile instead of parsing XML files.
Legacy XMLTests left, could be used if someone wanted.
Closes #4