Add test case with one optional node.