get a 12v power supply like a simple transformer (old laptop, maybe) so you don't have to run the car to check (or I suppose you could use leads from your engine battery), just remember it can be dangerous to instantaneously supply 3000-5000A if leads short.
with the solenoid harnesses disconnected, you want to energise the solenoids and hear the click, verify vacuum porting changes. then, just as important, the solenoid releases (they can get sticky) when you remove the 12v, and the vacuum porting changes back.
I find the easiest way to test the EGR in situ is to hold the revs steady at ~1500 with engine warm (again....*possibly* in gear with drive wheels off floor), and feel the EGR diaphragm pulse. remember though, that even if the EGR valve is working, that piccolo tube I mentioned above gets plugged up and then eventually the EGR valve itself gets plugged.
I try to make a point of not interfering when someone else is already helping...just take my thoughts in this thread as general info from a semi-retired engineer.....