Add test case of each node for migration

Add the test cases for core nodes. Not cover all the nodes, continue to add the rest unit test cases.