public boolean test() {
	FileSystem fs;
	try {
	    fs = new FileSystem("sample");
	} catch (Exception e) {
	    return false;
	}
	System.out.println(fs.toXMLString());

	// make sure 'sample/foo/bar' is in the file system
	Tree<FileNode> rt = fs.getTree();
	
	if(!rt.getLabel().getName().equals("CWD"))
	    return false;
	Tree<FileNode> sampleT;
	try {
		sampleT = rt.findChild(new FileNode("sample",true));
	
	if(sampleT == null) return false;
	Tree<FileNode> fooT   = sampleT.findChild(new FileNode("foo",true));
	if(fooT == null) return false;
	Tree<FileNode> barT    = fooT.findChild(new FileNode("bar",true));
	if(barT == null) return false;
	return true;
	} catch (InvalidOperationException e) {
		return false;
		// TODO Auto-generated catch block
		//e.printStackTrace();
	}
    }