Running unit tests for WorkerSessionFactory