Test for syntax error