Add add_node pipe.
Add test of add_node.
Update test.
Minor fix according to the review.
Merge pull request #112 from kenbeese/add-node

Add node
Update test utility.
Update test.
Hot fixed.