tests: add test for root path requirement