Corrrected synchronization on test factories.