added test for XML result format (#13)
fixed test: XML string is expected (#13)
added support for XML format (#13)