Beijing to test 20 million to avert lockdown