Hugh McMaster : regedit/tests: Use delete_key() and delete_tree() where possible.