Creation of the tree structure for the tests