(GH-12) Add tests for ternary operators.