Cars used for test drives are insured by the dealer.
However there is usually an excess of around $1000 that the customer will have to pay.
If the customer has his own car insurance then he may be able to claim a portion or all of the excess charged by the dealer from his insurance company.