Does herpes test detect type one and two separately?

Depends. There are various herpes tests, including tests that specifically identify for hsv-1 and hsv-2.