GRIND-47: Test using hooks to fail a migration

Change-Id: I0bd2e038c9644af8ec0535a23830102eac1bef53