added ternary operator test

waiting on substack/static-eval#1 to pass