Fixed a unit test.
Changed how the RunProcessFunction was setup. This fixed a nasty testing build due to the ordering of the tests.