scp overwriting test and branch based endpoint testing