Virus spurs unexpected test for US schools: Online learning