Test saving branch threads