thin muscle attached to the testicles