netkvm_resolver_spec.rb stubs the result of Win32::Registry::HKEY_LOCAL_MACHINE as a hash, when it should be an instance of Win32::Registry
Should investigate if it is still needed.