Added unit tests for progresscontroller.update

Fixed DayRepositoryTests.

Removed Single() call in DayRepository to make it easier to test.