Ok let me lay out for you what needs to be considered in this situtuation -
1. Unprotected sex carries a risk for hiv transmission
2. There is approximately a 0.3 - 1% risk of transmission per episode of unprotected sex with someone who is hiv . This is fact based on intense scientific research over 25 years.
3. The presence of fresh blood increases the risk because there is a higher concentration of hiv within blood
but-
given that your exposure was very brief, this reduces the risk significantly. This would lead me to suggest relatively low hiv risk in this instance.
As for testing, an accurate test is based on a detection of hiv antibodies, which your body produces in response to hiv. These antibodies occur during seroconversion, when a person goes from negative to positive. Once seroconversion has taken place, the test will be positive. It is usually three or so weeks after the unprotected episode, and the person infected may or may not experience flu like symptoms. Do not concern yourself with this. Now, given that seroconversion can, very very rarely occur later on, it is officially recognised that a test is definitive after 13 weeks. Tests before that time are very encouraging, but not definite.
Do test after 13 weeks, but it is much more likely that you are negative rather than positive. Let us know.
P.S. If you do test positive, which is not likely, you have not neccesarily 'ruined' your life. Medication is getting better and better. It all depends on how you look at your situation as to whether you feel 'ruined'.