yeah I agree test drive it again and have the codes read or bring a code reader with you.
how many miles are on the car?
You may consider having this vehicle checked out by a third party. if you encountered a dead battery it is obvious they did not perform a PM on this vehicle before they put it for sale.
At least know what problems you are buying with the Torrent.
what year torrent are you buying?
here is a list of common problems or reported issues with the 2006 being the year with the most complaints.
Educate yourself before laying any cash in the dealers hand.
consider the source of these complaints not all may be accurate, not all of these vehicles received the proper scheduled maintenance.
But there seems to be a common problem with the AC and heater blend door, or Air trapped in the cooling system.
My point is if you like the vehicle and the deal, do not be shy check all the functions of the entire vehicle. if you do not plan on working on this yourself, get a extended service plan.
http://www.carcomplaints.com/Pontiac/Torrent/2006/
I have seen much worse vehicles on this site. here is a top ten worst vehicles to avoid.
http://www.carcomplaints.com/worst_vehicles/
After looking at these you will see the torrent has a good record in comparison.
just makes sure the reported problems found on this site for the year Torrent your interested in does not exist on the very Torrent you want to buy.