can it be detected by any tests?
Yes, laboratory tests include culture of the virus, direct fluorescent antibody (DFA) studies to detect virus, skin biopsy, and polymerase chain reaction to test for presence of viral DNA.
Herpes simplex
Laboratory testing is often used to confirm a diagnosis of genital herpes. Laboratory tests include culture of the virus, direct fluorescent antibody (DFA) studies to detect virus, skin biopsy, and polymerase chain reaction to test for presence of viral DNA. 
where did the first case of herpes come from UNANSWERABLE what are its symptoms? UNANSWERABLE what is this disease classified into? Herpes simplex virus is divided into two types. However, each may cause infections in all areas.
wiki:20570798
Herpes simplex [SEP] Laboratory testing
Laboratory testing is often used to confirm a diagnosis of genital herpes. Laboratory tests include culture of the virus, direct fluorescent antibody (DFA) studies to detect virus, skin biopsy, and polymerase chain reaction to test for presence of viral DNA. Although these procedures produce highly sensitive and specific diagnoses, their high costs and time constraints discourage their regular use in clinical practice. Until the 1980s serological tests for antibodies to HSV were rarely useful to diagnosis and not routinely used in clinical practice. The older IgM serologic assay could not differentiate between antibodies generated in response to HSV-1 or HSV-2 infection.