Tests for terminated/unterminated template strings.