Test for SyntaxErrors