Add test case for syntax error