Add a brief unit test for cond. update todo