implement RegistryKey and RegistryValue
update tests.