test for setting non-existing task to done when other task exists