No problem - You should certainly get EGR fault codes if the EGR's electrical or vacuum pipes re unplugged , how strange
If you unplug other stuff on the engine can you get codes then ? ( its just to make sure fault code "system " is working beyond just sensing a glow plug fault)