create syntaxerror test case