Add test for cond