Add tests for calling generate with a route object.
Add tests for calling generate with a route object.

peterkokot/Routing,aheinz-sg/Routing,sustmi/Routing,ZnanyLekarz/Routing,pk16011990/Routing,timplunkett/Routing