public void cleanup() throws Exception {
tcp = new SimpleTcProvider();
resetOntologyProvider();
Dictionary<String,Object> empty = new Hashtable<String,Object>();
ClerezzaCollectorFactory factory = new ClerezzaCollectorFactory(ontologyProvider, empty);
onm = new ScopeManagerImpl(ontologyProvider, new OfflineConfigurationImpl(empty), factory, factory,
empty);
}