Add unit test cases for migration of each node.