test(cond): add more tests for "cond" function