debug test in todo list widget (handle when todo list model is null)