PCR genetic analysis has come down massively in cost and time lately. I find this only mildly surprising.
Also given the high surveillance in China, probably all were scanned on a/c entry by various biometric devices and they knew everything irrespective of the manifest. Likely have the DNA on record of all the passengers as well. Probably the most intrusive place in the world so not surprising I agree.