Extract out gem-install-branch-test