Corrected test according to new factory PID API