Added WorkerFactory.cs and ConnectionIsDispatchedTest