[PATCH 1/3] reg/tests: Modify delete_tree() to support the use of registry views