added many more test cases for the new branch factor restriction work in VerticesVerticesPipes and VerticesEdgesPipes. Also, reformatted and optimized imports.