pdtest: Exit non-zero for errors as well as PD output differences