Hi,

> The proced test `proced-refine-with-update-test` seems to have an update race which makes it fail randomly. (This is on macOS, but I see no reason it would be much different elsewhere.)

Strange, I can't seem to reproduce running it continuously (I'm on linux also).  Though whilst looking over the test suite, I don't think I like the approach I took.  I've attached a new patch which changes the test suite to mock the list of active processes (of course comments welcome).

Are either of you able to test whether this fixes the test in question?  The change also makes the tests a lot faster to run and hopefully less system dependent.

Thanks, Laurence