I would be very surprised if the average American judge would deny a “quarantine or mandatory testing” quandary for a target when CDC says the target was coming from an area hit by a serious public health danger (of a communicable disease sort) and exhibiting some symptoms of the communicable disease being seen as a serious public health danger at the time. At a federal appeals court level or higher, I would expect near-certain defeat for those complaining about being stopped by CDC when found to be uncooperative with even testing of a rather non-invasive sort during a public health emergency.