Completed XMLParser, added unit test