Chickenpox and shingles are caused by an infection with the varicella zoster virus (VZV), a member of the herpes virus family. Varicella zoster virus tests detect either antibodies produced by the immune system in response to a VZV infection or detect the virus itself.