Proper CreateOrphanBranch test
Remove debug