Is the expectation that the Registry key will be cleared after the reboot? If so, shouldn't there be an assertion here to validate that?