Hugh McMaster : reg/tests: Modify add_key() to support key creation in registry views.