Add unit tests for examples

It might be a registration problem of the `Route` resource.