Agreed on sub-components.

As for extracting a method, I'm thinking of something like this:

```
# Since flock mechanism doesn't exist on windows we are using
# platform Mutex.
# We are creating a "Global" mutex here so that non-admin
# users can not DoS chef-client by creating the same named
# mutex we are using locally.
# Mutex name is case-sensitive contrary to other things in
# windows. "\" is the only invalid character.
# @mutex = Chef::ReservedNames::Win32::Mutex.new("Global\\serdar:/_-running.pid")
def acquire_win32_mutex
  Chef::ReservedNames::Win32::Mutex.new("Global\\#{runlock_file.gsub(/[\\]/, "/").downcase}
end
```
Even though it's only one line, it reduces this part of the `#test` method to just control flow and give the comment its own place to live.