add unit test for LinkNode.insert