Added routing test.
Fixed a routing bug that was causing route parameter binding to fail under certain conditions.