Fixed minor bug in test_migrate.sh