add test for TernaryExpression
Merge pull request #75 from UplinkCoder/TernaryTest

add test for TernaryExpression