Check for pending migrations before running tests