Tests for concurrent factory.
Mark as thread safe.