add test case for migration test