test(gen:route) tests for route generator

add tests for route generator
include tests for uri option

Fixes #639, #644

Added tests for route