[SQUASH ME] tests: check if pid in receive callback is correct