Beyond recreation, a bike can be a greener way of getting to work, but not all bikes are up to the commuter challenge.

Consumer Reports tested a total of 17 bikes that are good for commuting or just tooling around town, and top-rated two of them.

The bikes tested included three types: fitness bikes, hybrid bikes and comfort bikes.

Fitness bikes are most like road bikes, with a small seat and narrow tires, but they're more comfortable because you sit semi-upright.

Hybrids are a cross between a road and a mountain bike. They have wider tires and can have front shocks and suspension seats that absorb more of the bumps for you.

"Another type of bike we tested are comfort bikes. They have an upright riding position. A nice wide seat. And they're best for slower-paced, recreational rides," Rich Handel of Consumer Reports said.

Each bike was put through a series of tests. Rough surfaces were used to measure shock absorption, and a brake test determined how far it took for a bike to stop.

Testers also sized up the gears to see how easy they were to shift.

When all the tests were done, Consumer Reports top-rated the Cannondale Comfort 4 and the Cannondale Comfort 5.

The Cannondale Comfort 4 costs $600, has very good handling and is quite sporty for a comfort bike.

The latest Cannondale version, the Comfort 5, costs $550.

If you're looking to bike longer distances or tackle more hills, the Fuji Absolute Fitness is a better bet. At 26 pounds, it's fairly lightweight and costs $550, which is less than many other fitness bikes.

Consumer Reports says that no matter what bicycle you choose, make sure you have a proper fit. Testers recommend buying at a bike shop, where you can get help from an experienced salesperson and actually take the bike for a ride to make sure it's right for you.

With a report from CTV British Columbia's Chris Olsen