Test for defined routes

As opposed to true routed. As it prevents, e.g.,
to define a route called '0'.
changelog

Fixes #1020
Merge branch 'route-0' into devel