fixed tests and implemented todo-repository getAllTodos which are actually only the open ones for now