I am in the UK and had to give samples for a software job 4 years ago. I lost one hire due to that policy
What an absolutely laughable policy. You'd have to fire half of bloody London if they tested for charlie.
I'd massively kick off at HR for this if I couldn't hire someone for this reason.
I don't know if this is current.