Every body is different and it depends on your smoking history, genetics, body fat %, activity level, diet, etc. The half life can range from 0.8 days to 10 days. I know plenty of people who took 60+ days to get clean.

If you are doing aerobic exercise stop 3-5 days before the test. I have a feeling you are close to getting clean.