Fixed unit tests for syntax errors