Fixed root route output and added test
Merge branch 'hotfix/fixroot'