Your description is most consistent with an appendix testis or appendix epididymis. These are structures which have no function in humans and if usually are of no consequence. They can twist and cause pain and swelling, but this is quite uncommon in an adult.
Have a great day!
S.A.Liroff, M.D.
S.A.Liroff, M.D.