tests for syntax