Yes, sadly that is the way it is going with most lights being assemblies where you can't remove the electronics from, and where there is not any provision for easily disconnecting it.In the real world, on site, it is often not practical for a L-N test to be carried out as part of the initial verification
I intensely dislike the replace-whole-light-assembly way of the world and would always prefer removable lamps, as it is a waste of resources and adds to testing problems, but for many cases like bathrooms it is hard to get anything IP rated that way.