Added mocked test for Branches command