Anyone in Shanghai who wants to be tested for the coronavirus can now get one easily, in China’s latest step to allay fears so that economic activity can resume.