anchor.diff:  
   // This counter is used for generating node ids (different from testcase ids)
   var idcounter = 1;
  +var rootnodeid = "root";
  +var nodeprefix = "node_";
  +var leafprefix = "test_";
   
   // This function translates the json object received from the testcase view
   // a format readable by jstree
  
positive.code:         }
      }
      // Remove the selected node from the source tree
      from.delete_node(node);
  }
  
  // After the document is initialized 
  
negative.code:         createNecessaryParents(from, to, s);
          move(from, to, s);
      }
      cleanup(from, from.get_node(rootnodeid));
  }
  
  // This function changes the values of the hidden fields corresponding to the testcases included in the node s to the given value recursively
  function setHiddenValues(tree, node, value) {
      if (node.id.indexOf(leafprefix) <= -1) {
          // If this is an intermediate node with subtrees and
          // ignore this node (because it shouldn't be a testcase)
          for (var child of node.children) {
  