Added migration for converting test cases to the new format.