[PATCH 3/6] reg/tests: Modify verify_key() to support opening of registry views