Set upstream when pushing a branch
Correct a test