There's no law that says staff must be tested for Coronavirus (COVID-19), but some employers might want to bring in testing as part of their workplace policy, says this guidance published by Acas.
Advice is given on:
If an employer wants to test staff.
If staff are worried about testing.
Protecting personal data.
Resolving issues about staff testing.
The guidance can be found here.
Acas October 2021