add test for TernaryExpression

Produces 0 under DMD.  Also, just before ret is set to 0, it's value is 84.