I don't think this pid should've been changed to 9999.  While the tests pass due to normalization, the test now reads as if the pid changed after losing the session, which is not what's happening.  Alternatively, if we want to use Jim's constant to signify arbitrary pids, then we could change 362 in the next stanza to 9999 as well.