Refactored OEMigrationCommand to check for instance of OEMigration when setting testdata property