test for invalid root path