Add syntax tests.

Fix syntax code to fit.