How is an on ground lightning strike test conducted?
You create your own lightning. You can do that with an impulse generator. Here's what a smaller one looks like:



I don't know if that's what is used for the certificates but it certainly one way to test against lightning strikes (provided that you can generate a high enough voltage).