Remove references to sys_getpid from a variety of tests.