We have small non-isolated 230VAC devices that transform mains to LEDs running at 32V, 20mA. The lights are directly connected to live, neutral and earth like a standard lightbulb would be. Since there are some problems with the durability of the devices, we plan on thoroughly testing them to find the weaknesses in the product. Our assumption is that when the device is plugged in or powered when the AC voltage is at its highest level, the steep flank is not filtered out which results in the breaking of resistors. We of course want this the testing to be safe for the testing equipment and ourselves.
Up until today we have been testing with a residual-current device in between mains and the DUT in combination with a circuit breaker. The DUT is earthed.
My question is whether this is a good setup for testing the devices or would it be better to use a mains isolator to plug the devices into while not connecting the DUTs to earth. The oscilloscopes would be earthed and equipped with a differential probe.
Lastly, how should the testing method change when another device is tested that is also connected to mains but has a transformer on-board?