Added test cases for #437 and #438.

These test cases are related to character range of expressions, which
are currently not well supported.