Checking reset sequence