Unbreak test by fixing regexp.
Alias root_prefix to root and add tests.