Added test for migrations

The test will check that migrations have uniquie revision and
down_revision fields.

Change-Id: I8b9df89281be842595a214567591e3f83467fe8c
Merge "Added test for migrations"