Hugh McMaster : regedit/tests: Use a helper function to delete registry values.