Added a small test in XMLParser