add test for TernaryExpression

s p a c e s