Added pending test for incomplete migrations.
Small abstraction.
Loading pending migrations.