How do I test an exhaust back pressure sensor?

With an OBD2 scanner in live data mode, the exhaust back pressure reading should increase progressively as engine load increases and should be close to atmospheric pressure at idle with a clean DPF. A sensor that reads a fixed value regardless of engine load, or reads significantly above atmospheric at idle, is likely faulty. You can also test the sensor supply voltage and signal voltage with a multimeter at the sensor connector - refer to your vehicle workshop manual for specifications.