implemented unit-test for syntax errors
fixed concluding parser error messages