added test for XML serialized and fixed a bug in it. issue #40
Merge pull request #53 from rmcgibbo/xml_test

added test for XML serialized and fixed a bug in it. issue #40