add datum compatibility for migration from test cases for 0.4.x