Completed first version of xml parser and added unit test for it