fixing TodoService unit tests to use proper done/$timeout flush pattern