added unit tests for schema validation and a test for not wellformed XML.