Add more tests for UnitOfWork