update fixture and branch_factory test for branch name with space case