move connection locator to Mapper so UnitOfWork works, and test UnitOfWork