Merge "Add a test for ParseException"