MigrationManagerTest: add explicit flushing before assertions (needed by Oracle, not needed in production code)