public boolean test() {
	FileSystem fs1;
	try {
	    fs1 = new FileSystem("mysample");
	} catch (Exception e) {
	    return false;
	}
	
	Tree<FileNode> myTree = fs1.getTree();
	
	try {
		Tree<FileNode> node = myTree.findChild(new FileNode ("mysample", true));
		if(node == null){
			return false;
		}
		Tree<FileNode> node2 = node.findChild(new FileNode("mammal", true));
		if(node2 == null){
			return false;
		}
		Tree<FileNode> node3 = node2.findChild(new FileNode("carnivore", true));
		if(node3 == null){
			return true;
		}
		Tree<FileNode> node4 = node3.findChild(new FileNode("feline", true));
		if(node4 == null){
			return false;
		}
		Tree<FileNode> node5 = node4.findChild(new FileNode("mycat", false));
		if(node5 == null){
			return false;
		}
		Tree<FileNode> node6 = node.findChild(new FileNode("amphibian", true));
		if(node6 == null){
			return false;
		}
		Tree<FileNode> node7 = node.findChild(new FileNode("rabbit", false));
		if(node7 != null){
			return false;
		}
	} catch (InvalidOperationException e) {
		return false;
	}
	System.out.println(myTree.toXMLString());
	return true;
    }