add RegKey::KeyExists and unittest for this function.