private void assertOnlyNecessaryBundles(VespaModel model) {
        PlatformBundlesConfig config = model.getConfig(PlatformBundlesConfig.class, "admin/cluster-controllers");
        Set<String> unnecessaryBundles = PlatformBundles.VESPA_SECURITY_BUNDLES.stream().map(Path::toString).collect(toSet());
        assertTrue(config.bundlePaths().stream()
                           .noneMatch(unnecessaryBundles::contains));
    }
Test for creating cluster controllers under the admin tag.
config-model/src/test/java/com/yahoo/vespa/model/admin/ClusterControllerTestCase.java