Easy - with the right tools
The DPFE is easy to test -- if you have the right tools and a service manual. Leave the higher pressure (upstream) port open, apply vacuum from a handheld pump to the low pressure port, read the output with a scanner as you change the pressure, compare to a chart in the service manual.
In a pinch, you can apply manifold vacuum (anything above 10" will do) and use a multimeter to probe the output wire. If you still have the old aluminum body DPFE, you should see close to 5V. With both ports open (0 differential pressure), it should be around 1V. The output wire is the brown/light green one.
Is it worth the effort vs. just replacing the fairly cheap sensor? I did that, out of curiosity, when mine failed, but I had all the tools. It's your choice.