Fix test for PID sending and remove int() conversion for tuple IDs.