It so far appears the county sheriff is behind this, insisting that the courthouse belongs to the county, and the state had to right to authorize this test.
Remember that Sherriffs are elected, they can have zero training related to the job. That alone can explain a lot of this. You might be surprised at recent efforts to politicize them as well.