“We have no cure. I don’t want to know.” isn’t the same as “We have no cure. We as a society don’t want to know.”
People can be fine with being tested so that epidemiologists can work on growing our knowledge and, at the same time, not wanting to know their own diagnosis.