trying to fix up test for populateBranch