PAL: Fix processing of device tests