Fix validation of migration validation tests