There's no way to secretly test these weapons.
To be clear, I'm not objecting to the weapons existence. I'm objecting to the tests, which are potentially worse than above-ground nuclear testing. The kessler syndrome, if realized, would permanently destroy our ability to deploy, access, and use space resources.