Added test for rootPath