improved branching pipeline test