Intent of directory|occurrence=1, plugin.json exists|occurrence=1

All 8 exact tests in this concept. Every test is marked by where it enters the hierarchy.