No, no reason to get tested for either before getting the vaccines.
When they suspect you have hepatitis, they do a different test that doesn't reflect prior antibodies from being vaccinated.
http://www.cdc.gov/hepatitis/B/bFAQ.htm#tests - this is just all on hepb testing but it does have a nice section that goes into the different tests for it and which ones reflect prior infection/immunization against it. Think it will help explain it to you a little better than I can fresh out of bed this morning
betsy