Finally wrote tests for unit of work and repo, fixed unit of work to pass tests, created some mocks