test-path should include leaf