add tests for syntax def