The truth is much more boring. Most devices don't get tested by governments, companies use certified labs to test their devices and then get the relevant certificates (CE markings etc) based on the paperwork from those certified labs. The surprising part here is that they decided to test the iPhone 12 at all, not that they haven't done it earlier.