trying out bikes is a good thing for sure and a must do before you plunk down any money, but it's still hard to get a feel for how you "bond" to a particular bike with a 10 minute test ride. You won't know how well it fits into your life unless you have it for a while. So there may be some trial and error.
I did it the hard way, I bought different bikes and finally settled on two I wanted to keep forever. I went through a few other bikes in the process and sold them off when they didn't get any ride time. Also, things change....I have a nice road bike which I loved riding but I don't have the time these days to do hardcore road biking for hours...my folding bike is actually being used a lot more because I usually ride to go somewhere or just for leisure.