Nothing in this world is free. A great example would be if a police office were to offer you food or water, there's an extremely high chance that they want to get your DNA.
Just don't accept. DNA tests are often falsified, so it's just not worth the risk. Of course, they would still have the option of just falsifying everything.