A herpes test checks for the presence of the herpes simplex virus in the body, reports the NLM. Oral and genital herpes are both caused by the herpes simplex virus. The main difference between the two types of herpes is the location of its blisters.