The testes are immunoprivileged. Transplanting testes would probably result in dead nubs of fibrous tissue after a couple years or severe immunosuppression requirements. Even autologous testicular tissue transplant has had only a 1 in 7 success rate (https://www.newscientist.com/article/dn1851-man-fathers-chil...)