Added new test for checkout-only-branch-x functionality