Add expected_errors for migrations v3

Partially implements bp v3-api-extension-versioning

Change-Id: I4eabd4ae4aa23b26a48f14f2ea9a57619ac38b41
Merge "Add expected_errors for migrations v3"