Added test for ternary statement.