Millions receive a presidential phone alert in the first nationwide test of an emergency system.