you can get tested for some std's free or low cost at the health department. usually you'll need to seek out herpes and hepatitis testing elsewhere.
planned parenthood also charges on a sliding scale. you have to check to see if your local PP offers type specific herpes igg blood testing or not , many don't unfortunately. You also probably will not get hepatitis testing there either.
grace
call around to local clinics and if in america helath depts do testing for free.