added syntax error test