tests.
rootpath(paths) simple form.