First half of unit test for data migration