@Test
public void putIntoForwardOrder_branch() {

	List<Node> ordered = createBranchA();
	// change the order a bunch to test more variants
	for (int trial = 0; trial < 10; trial++) {
		List<Node> shuffled = new ArrayList<>(ordered);
		Collections.shuffle(shuffled, rand);
		SequenceForwardOrder alg = new SequenceForwardOrder((List) shuffled);
		List<Node<?,?>> found = alg.putIntoForwardOrder();
		for (int i = 0; i < ordered.size(); i++) {
			assertTrue(ordered.get(i)==found.get(i));
		}
	}
}