Tests for CLI migrate.