add basic tests for syntax def