Test for syntax errors.