add unit test for clearCompletedTodos in the todoModel