New ParStream functions and tests