EMC CISPR 14 conducted emissions terminals
I try to share my knowledge with you, but I do not have references for this and I might be false on some topics:

First of all, you need to know how long the cables to your terminals are (not only mains, but all terminals). If its longer than 30 meters, then you have to do surge testing (lightning stroke tests), burst tests and of course conducted emission/immunity. If the cable of a port is between 3 and 30 meters, you can skip the surge tests. If a port has a cable &lt;3m, you do not need any test (except ESD). Mains supply always needs full testing (because the lenght could be >30m). 

So from my point of view, your solenoid does not need conducted testing, because the cable is &lt;3m. But the other terminals need testing.