Merge "Test deep transitions when an alarm is imminent."