regedit/tests: Use the verify_key*() functions where possible.