Updated specs for improved pending migrations check.