Fix newlines, make API url a bit more configurable
Fix name of text/xml test
Finish adding node tests up to 1006