Added EventRegistryTest