The one thing worse that having no nukes is not having enough nukes.
When did Israel test theirs?
Iran may have tested in 1999. It would be amusing if they launched a broadsides and their warheads failed to detonate. Still, they weigh a ton and would do severe damage to what they land on, a car, or blow out the windows of a store if they hit the sidewalk in front.
Unless, of course, one isn't following a policy of MAD, but instead repetively muttering 'Allah, Achbar', perceives the road to glory is paved in their immediate work, and then, even a test might not be operationally best deployed as a demonstration, rather, their best demonstration might be in a destructive test on a foreign target.
When people were concerned about WMD fabrication processes having advanced into the 21st century, they were also concerned with modern logistics and manufacturing just-in-time methods being used in compartmentalized fashions making a response that less likely for countering such a threat with success.