migrate the curve reference

The test case I added is for the overall migration test. It has all the nodes in old dynamo.