The specs were including YARD into the Kernel, which allowed shorter references to the Registry, but also obscured that the Registry is part of YARD.
Add some comments for the new methods that have been introduced to ensure that the code is readable and well documented.
In order to make the code more readable, separate the tests into different files for each handler. Additionally, extract the helper methods into a separate module which may be included as needed.