Added syntax check unit test