[PATCH 1/2] regedit/tests: Comprehensively check for elevated privileges before starting tests