Added more tests and basic tree fill logic
Added allocate_new_tree_slots