@Test
public void testLevelOfScopeMatchingSubset() throws IOException, SchemaSyntaxException {

  OSLSchema schema = (OSLSchema) readSchema("in", "scopelevel-subset.xml");
  TopicIF type = makeType("#something");
  TopicIF instance = builder.makeTopic();
  instance.addType(type);
  TopicIF occscope1 = makeType("#occ_scope1");
  TopicIF occscope2 = makeType("#occ_scope2");
  TopicIF occscope3 = makeType("#occ_scope3");
  TopicIF occtype = makeType("#occtype");
  OccurrenceIF occ = builder.makeOccurrence(instance, occtype, "");
  occ.addTheme(occscope1);
  occ.addTheme(occscope2);
  occ.addTheme(occscope3);
  validate(schema);
}