Fixed test script migrating