code: def test_fork(self):
      path = "/some_path"
      trial = TrialStub(path)
      lineage = LineageNode(trial)
  
      new_path = "/another_path"
      new_trial = TrialStub(new_path)
  
      new_lineage = lineage.fork(new_trial)
  
      assert new_lineage.item.working_dir == new_trial.working_dir
      assert new_lineage.parent is lineage
      assert lineage.children[0] is new_lineage
  
imports: import os
  import random
  import pytest
  from base import ObjectiveStub, TrialStub, build_full_tree, build_population, compare_generations
  from orion.algo.pbt.pbt import LineageNode, Lineages
label_desc: Use image node_id 2 for calling the TestLineageNode obj's underlying member method code with example usage: obj.test_fork() without return types