Added regression test for before v3 to v4 migration