I went to a Trek demo held in a High school parking lot where they had a full line of bikes. They made me sign an insurance waiver and handed over the bike. I put about 10 miles on the bike.
I would always take a test ride if I were considering buying the bike.