'Make sure things are initialized.'

def setUp(self):

    super(TestArtifactCollectors, self).setUp()
    test_artifacts_file = os.path.join(config.CONFIG['Test.data_dir'], 'artifacts', 'test_artifacts.json')
    artifact_registry.REGISTRY.AddFileSource(test_artifacts_file)
    self.fakeartifact = artifact_registry.REGISTRY.GetArtifact('FakeArtifact')
    self.fakeartifact2 = artifact_registry.REGISTRY.GetArtifact('FakeArtifact2')
    self.output_count = 0
    with aff4.FACTORY.Open(self.client_id, token=self.token, mode='rw') as fd:
        fd.Set(fd.Schema.SYSTEM('Linux'))
        kb = fd.Schema.KNOWLEDGE_BASE()
        artifact.SetCoreGRRKnowledgeBaseValues(kb, fd)
        fd.Set(kb)
