public void testXMLParser(){
		String s = "<a>value</a>";
		DocumentBuilder parser = null;
		Document document = null;
		try {
			parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
			document = parser.parse(new InputSource(new StringReader(s)));
		} catch (SAXException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} catch (ParserConfigurationException e) {
			e.printStackTrace();
		}
		String res = document.getElementsByTagName("a").item(0).getTextContent();
		assertEquals("value", res);
	}