fixed DateTime issue and created tests

fixes issue #199

Need feedback for XML deserialization of type("array<string,DateTime>) with XmlKeyValuePairs. Currently the test is failing.