More robust tests for libprocess.