HIV CANNOT be transmitted casually, through a hand shake, hug, by sharing glasses or utensils....none of those ways.
HIV requires a set of near perfect circumstances to allow for transmission, and it has to occur INSIDE the body, as in unprotected sex. The only way a "blood to blood" exposure would pose a threat would be in the instance of iv drug users sharing needles. This is because the blood of the infected person stays preserved inside the bore of the needle because it is not exposed to the elements...and then it is injected directly into the blood stream.
If you click on my profile, you'll see that I wrote a journal called "HIV The Facts"...I think reading that would be a good idea for you to help you better understand how the virus works.
NO, you absolutely CANNOT get HIV from shaking an infected person's hand, even if there were cuts, abrasions, etc. End of story. You do NOT require any kind of testing based on a handshake.