P0401 EGR flow insufficient?
I'm not sure there is a test for the actual sensor itself. Haynes and Chilton's Manuals do not show one.
Here's a quick reminder: If/when you replace the DPFE sensor, make sure you disconnect the negative battery terminal for at least 15-20 minutes so that your PCM (computer) will reset and then adapt to the new sensor.
Good luck.