It is, of course, impossible to render a specific diagnosis over the Internet, and without actually examining this lesion. Based upon your description, anyway, this lump does not appear to be associated with your testicle. Unfortunately, there are multiple possibilities, ranging from sexually transmitted diseases to benign skin lesions to (less likely) malignant skin lesions.
If this lump persists, and especially if it is changing in size, color, shape or consistency, it should be evaluated by your physician.
Sincerely,
Robert A. Wascher, MD, FACS