Add an init test for multi-branch repos.