Adds generator for namespaced routes with tests