void compileSchema(String schema) throws ParseException {
        RankProfileRegistry registry = new RankProfileRegistry();
        var qp = new QueryProfileRegistry();
        ApplicationBuilder builder = new ApplicationBuilder(registry, qp);
        builder.addSchema(schema);
        builder.build(true);
        for (RankProfile rp : registry.all()) {
            rp.compile(qp, new ImportedMlModels());
        }
    }
Tests rank profiles with normalizers in bad places

@author arnej
config-model/src/test/java/com/yahoo/schema/NoNormalizersTestCase.java