@Test
	public void nodeTests(){
		Node db = null;
		try{
			ConfigParser cp = ConfigParser.getParser("resources/config.xml");
			cp.getElementAt("wookie", 0);
			db = (Node)cp.getElementAt("databases", 0);
		}
		catch(Exception e){
			assertTrue(false);
		}
		Connection con = ConnectionFactory.createConnection(db);
		assertTrue(con instanceof ImplConnection);
		con.close();
		con = ConnectionFactory.createConnection(db, "curl");
		assertTrue(con instanceof CurlConnection);
		con.close();
//		con = ConnectionFactory.createConnection(db, "implcurl");
//		assertTrue(con instanceof ImplCurlConnection);
//		con.close();
		con = ConnectionFactory.createConnection(db, "impl");
		assertTrue(con instanceof ImplConnection);
		con.close();
		
	}