Fix flaky proc test.
minor tweaks.