How long after it appeared did you have it tested? Also, if she just did the swab I suggest that you ask for the IgG herpes type specific blood test.
No one in the marriage has to cheat for this virus to be involved. If either of you had partners before marriage it is possible to have had it all this time with no signs or symptoms. I am not saying that you have it but just giving you an example