consent-type migration script test