Fix pipeline test race conditions

Small foRunner code change and significant restructuring of StatAccumInput tests to remove all race conditions from the pipeline package tests.