China ordered on Saturday that anyone in Wuhan working in certain service-related jobs must take a coronavirus test if they want to leave the city.