Setup tests for the XML messages sent to server.

First test checks the mkdir message.
Test the upload XML message.
Abstract out the checking of XML document boilerplate.
Test the input upload XML messsage.
Test the input file XML message.