RegistryHelper test