The Law Society has published guidance which you can access here: https://www.lawsociety.org.uk/news/stories/update-on-legal-practitioner-keyworkers/
In Summary: if you practice in Litigation, Criminal Law or Private Client (wills and perhaps LPAs) you are a Key Worker.
Here is a link to the link on the government website where you may check if you are allowed to have a Coronavirus test: https://self-referral.test-for-coronavirus.service.gov.uk/eligibility
If you are registering as an employer, the Law Society suggests you indicate that you have essential staff as your employees are working with the MoJ to support the delivery of the justice system.