Are babies tested for stds when they are born?

I have genital herpes and gave birth to my son vaginally but I didn't have an outbreak. Does the hospital automatically test babies in situations like that when they are born or does it have to be requested?