Added unit tests for UnitOfWork & UnitOfWorkFactory.