Add test for parse errors.