Added test for path to root method.